package medemede;

import java.io.*;
import java.util.Scanner;

public class  Main {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        OutputStream outputStream=null;
        String str=null;
        try {
            outputStream=new EncryptionEnglish(new BufferedOutputStream(new FileOutputStream(new File("test.txt"))));
            str=in.next();
            outputStream.write(str.getBytes());
            outputStream.flush();
        } catch (IOException e) {
            e.printStackTrace();
        }finally {
            try {
                assert outputStream != null;
                outputStream.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
